berhoel.ctitools package¶
Work with cti index files for the Heise papers c’t and iX
- class berhoel.ctitools.CTI(infile: Path, limit_year: int = None, limit_issue: int = None, limit_journal: str = None)[source]¶
Bases:
object
Read entries from cti files:
Bürokratie: Mit analoger Wucht Tim Gerber tig 3 16 c22 Standpunkt,Immer in c't,Gesellschaft,Ukraine-Krieg,Ukraine-Hilfe,Digitalisierung
- paper_year = re.compile('(?P<paper>[ci])(?P<year>[0-9]{2})')¶
- paper_map = {'c': "c't magazin für computertechnik", 'i': 'iX'}¶
- __init__(infile: Path, limit_year: int = None, limit_issue: int = None, limit_journal: str = None)[source]¶
Read input file.
- dusan_replace_re = re.compile('Duzan|Dusan')¶
- zivadinovic_replace_re = re.compile("Zivadinovic|Zivadinovi∩c|Zivadinovi'c|Zivadanovic|Zivadinivic")¶
Subpackages¶
- berhoel.ctitools.cti2bibtex package
- berhoel.ctitools.tests namespace
Submodules¶
berhoel.ctitools.__main__ module¶
berhoel.ctitools.ct module¶
Manage entries for c’t.
- class berhoel.ctitools.ct.IssueMap[source]¶
Bases:
object
Class for determinig issue date for c’t issues.
- class berhoel.ctitools.ct.Ct(shorttitle: str, title: str, author: list[str], pages: int, issue: int, info: str, year: int, references: str, keywords: str)[source]¶
Bases:
object
Prepare c’t issue information.
- issue_map = <berhoel.ctitools.ct.IssueMap object>¶
- month_issue_map = {1: 'Januar', 2: 'Februar', 3: 'März', 4: 'April', 5: 'Mai', 6: 'Juni', 7: 'Juli', 8: 'August', 9: 'September', 10: 'Oktober', 11: 'November', 12: 'Dezember'}¶
berhoel.ctitools.ctientry module¶
Base class for cti (c’t iX) entries.
berhoel.ctitools.ix module¶
Manage entries for iX.
- class berhoel.ctitools.ix.Ix(shorttitle: str, title: str, author: str, pages: int, issue: int, info: str, year: int, references: str, keywords: str)[source]¶
Bases:
CTIEntry
Prepare iX issue information.
- month_issue_map = {1: 'Januar', 2: 'Februar', 3: 'März', 4: 'April', 5: 'Mai', 6: 'Juni', 7: 'Juli', 8: 'August', 9: 'September', 10: 'Oktober', 11: 'November', 12: 'Dezember'}¶